<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ page import="java.util.*" %>
<%@ page import="com.chanyachting.emall.util.*"%>
<%@ page import="com.chanyachting.emall.domain.*" %>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ taglib uri="http://java.sun.com/jstl/core" prefix="c" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta name="keywords" content="" /> 
<meta name="description" content="" />
<link href="../css/import.css" type="text/css" rel="stylesheet" />
<link href="../css/hr/hr.css" type="text/css" rel="stylesheet" />
<script type="text/javascript" src="../js/hideshow.js"></script>
<script type="text/javascript" src="../js/jquery132.js"></script>
<script type="text/javascript" src="../js/jquery.select-1.3.5.js"></script>
<title>招聘求职-公司招聘</title>
</head>
<script type="text/javascript">
$(document).ready(function(){
	$("#test1").sSelect();
	$("#test2").sSelect();
	$("#test3").sSelect();
	$("#test100").sSelect();
	/*---*/
	$("#test4").sSelect();
	$("#test5").sSelect();
	$("#test6").sSelect();
	/*---*/
	$("#test7").sSelect();
	$("#test8").sSelect();
	$("#test9").sSelect();
	$("#test10").sSelect();
	$("#test11").sSelect();
	
	//提交表单
})

//显示隐藏层
var old=null;
function changemenu(mydiv){
  var obj = document.getElementById(mydiv);
  if (old!=null&&old!=obj)
    old.style.display='none';
  old=obj;
  if (obj.style.display=='none'){
    obj.style.display='block';
  }else{
    obj.style.display='none';
  }
}
</script>

<body>
<%@include file="/common/head.jsp" %>
<!--content_start-->

<div class="sort"><span><a href="<%=rootPath %>/frontend/hr/offerJob.do" title="招聘求职">招聘求职</a></span></div>

<!--搜索条_start-->
<div class="mbx">
	<div class="dh">您的位置：<a href="<%=rootPath%>/index.jsp">首页</a>&gt;&gt;<a href="<%=rootPath %>/frontend/hr/offerJob.do">招聘求职</a>&gt;&gt;公司招聘</div>
<%@include file="include/search.jsp" %>
      
</div>

<!--搜索条_end-->

<div id="content">
	<div id="left">
    	<div class="menu">
        	<ul>
            	<li><a href="talentHJob.do" title="人才求职">人才求职</a></li>
           	  <li><a href="offerJob.do" title="公司招聘" class="current">公司招聘</a></li>
          </ul>
        </div>
        <div class="vedio_left"><img src="../images/vedio_left.jpg" alt="" /></div>
        <!--<div class="dingyue">
       	  <h3>新闻订阅</h3>
            <form id="form2" name="form2" method="post" action="">
           	  <div>
           	  <input type="checkbox" name="checkbox" id="checkbox" /> 游艇销售及租赁
           	  </div>
           	  <div>
           	  <input type="checkbox" name="checkbox2" id="checkbox2" /> 码头及俱乐部
           	  </div>
           	  <div>
           	  <input type="checkbox" name="checkbox3" id="checkbox3" /> 其他
           	  </div>
           	  <div>
           	  <input type="checkbox" name="checkbox4" id="checkbox4" /> 其他
           	  </div>
              <div>
              <input name="textfield3" type="text" id="textfield3" value="请输入您的E-mail地址" class="txt_input" />
              </div>
              <div>
              <input type="submit" name="button2" id="button2" value="提交" class="btn_tijiao" />
              </div>
          </form>
        </div>-->
    </div>
    
    <div id="right">
    	<div class="hr">
          <table width="100%" border="0" cellspacing="0" cellpadding="0">
            <tr>
              <th>招聘职位</th>
              <th>公司名称</th>
              <th>工作地点</th>
              <th>发布时间</th>
            </tr>
            <% int listCount = 0; %>
		      <logic:iterate id="comp" name="offerSearchForm" property="companyInfor" indexId="i">
		      	<logic:iterate id="jobs" name="comp" property="joblistSet">
	            <tr>
	              <% listCount ++; String hasStyle = "class=\"light\""; if(listCount % 2 == 1) { hasStyle = "";}  %>
	              <td <%=hasStyle %>><bean:write name="jobs"  property="jobname"/>&nbsp;</td>
	              <td <%=hasStyle %>><a href="/chinayachting/frontend/hr/companyAletterInf.do?id=${comp.companyId }"><bean:write name="comp" property="companyName" /></a></td>
	              <td <%=hasStyle %>><bean:write name="jobs"  property="jobaddress"/>&nbsp;</td>
	              <td <%=hasStyle %>><bean:define id="createDate" name="comp" property="createDate" />
	              <% String cDate = createDate.toString(); cDate = cDate.substring(0,10); out.print(cDate); %></td>
	            </tr>
	            </logic:iterate>
            </logic:iterate>
          </table>
      </div>
        
      <div class="page">${offerSearchForm.linkStr}</div>
        
    </div>
    <div class="clear"></div>
</div>
<!--content_end-->

<%@include file="/common/foot.jsp" %>
</body>
</html>
